// 导入Vue
import Vue from 'vue';

// 导入vue-router
import VueRouter from 'vue-router';
// 从router.js中导入router
import router from './router.js';
Vue.use( VueRouter );

// 按需导入mint-ui
import { Header,Swipe, SwipeItem } from 'mint-ui';
Vue.component( Header.name, Header );
Vue.component( Swipe.name, Swipe );
Vue.component( SwipeItem.name, SwipeItem );

// 导入mui
import './lib/mui/css/mui.min.css';
import './lib/mui/css/icons-extra.css';

// 导入App组件
import App from './App.vue';
var vm = new Vue({
    el: '#app',
    router,
    render: c=> c(App)
})


